<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
 #query{
  width:80%;
  height: 70px;
  margin: 20px auto;
  background-color: #F2F2F2;
 }
  #add{
  width:30%;
  height: 50px;
  margin: 10px 700px;
  text-align: center;
 }
 
</style>
</head>
<body>
	<%@ include file="/jsp/top.jsp"%>
	<table width="1200px" border="0" align="center" cellspacing="0"
		cellpadding="0" >
		<tr>
			<td><%@ include file="/jsp/left.jsp"%></td>
			<td>
				<div style="height: 900px; width: 1000px;">
					<div style="height: 40px;width: 900px;background-color:#F2F2F2;margin: 0px auto;vertical-align:middle;line-height: 40px ">
						
						&nbsp&nbsp&nbsp当前位置:&nbsp&nbsp&nbsp<font color="blue">房产资料管理</font>
					</div>
					<div id="query">
						<form action="UserRoomInfoAction_query.action" method="post">
							<select name="query_type">
								
								<option>房间代码</option>
							</select>
							<input type="text" name="query" >
							<input type="submit" value="搜索">
						</form>
					</div>
					<div id="add">
						<s:a namespace="/user" action="UserRoomInfoAction_toAdd">添加房产信息</s:a>
					</div>
					<table border="1" cellspacing="0" align="center">
						<tr align="center">
						<td width="5%">房间代码</td>
						<td width="5%">业主代码</td>
						<td width="5%">所属大楼</td>
						<td width="5%">客户描述</td>
						<td width="5%">单元号</td>
						<td width="5%">楼层号</td>
						<td width="5%">房间号</td>
						<td width="5%">房型</td>
						<td width="5%">建筑面积</td>
						<td width="5%">使用面积</td>
						<td width="5%">套内面积</td>
						<td width="5%">人数</td>
						<td width="5%">车位数</td>
						<td width="5%">使用类型</td>
						<td width="5%">使用状态</td>
						<td width="10%">简要说明</td>
						<td width="5%">装修情况</td>
						<td width="10%">编辑</td>
						</tr>
						<s:iterator value="userRoomInfos" status="status">
							<tr>
								<td align="center"><s:property value="room_id" /></td>
								<td align="center"><s:property value="user_id" /></td>
								<td align="center"><s:property value="belong_block" /></td>
								<td align="center"><s:property value="customer_des" /></td>
								<td align="center"><s:property value="unit_no" /></td>
								<td align="center"><s:property value="floor_no" /></td>
								<td align="center"><s:property value="room_no" /></td>
								<td align="center"><s:property value="room_type" /></td>
								<td align="center"><s:property value="build_area" /></td>
								<td align="center"><s:property value="use_area" /></td>
								<td align="center"><s:property value="inner_area" /></td>
								<td align="center"><s:property value="peoples" /></td>
								<td align="center"><s:property value="stall_num" /></td>
								<td align="center"><s:property value="use_state" /></td>
								<td align="center"><s:property value="use_type" /></td>
								<td align="center"><s:property value="syliabus" /></td>
								<td align="center"><s:property value="decorate_situation" /></td>
								<td align="center">
									<s:a namespace="/user" action="UserRoomInfoAction_toUpdate?room_id=%{room_id}&customer_des=%{customer_des}">修改</s:a>
									<s:a namespace="/user" action="UserRoomInfoAction_delete?room_id=%{room_id}">/删除</s:a>
								</td>
							</tr>
						</s:iterator>
					</table>
				</div>
			</td>
		</tr>

	</table>
	<%@ include file="/jsp/button.jsp"%>
</body>
</html>